package org.xfy.pet.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.xfy.pet.domain.PetDetail;
import org.xfy.pet.mapper.PetDetailMapper;
import org.xfy.pet.service.IPetDetailService;
import org.xfy.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 业务实现类：
 */
@Service
public class PetDetailServiceImpl extends BaseServiceImpl<PetDetail> implements IPetDetailService {
    @Autowired
    private PetDetailMapper petDetailMapper;

    @Override
    public PetDetail findOneByPetId(Long id) {
        return petDetailMapper.findOneByPetId(id);
    }
}
